Method for Managing Opaque Presence Indications Within a Presence Access Layer

ABSTRACT

A method for a presentity to provide private presence information for a watcher. The method includes the presentity providing the private presence information in an encrypted form. The method also includes a presence access layer obtaining the private presence information. The method also includes the presence access layer performing one of decrypting the private presence information and sending the decrypted private presence information to the watcher, and leaving the private presence information in the encrypted form and sending the encrypted private presence information to the watcher, wherein the watcher decrypts the private presence information.

BACKGROUND

Some user agents (UAs), such as mobile telecommunications devices, can collect presence information associated with the users of the user agents. The presence information might include the users location, the user's availability, the user's willingness to communicate, the user's willingness to use a particular service or communication method, the user's state of mind, activities the user is currently engaged in, applications currently executing on the user's UA, and similar data that relates to the current state of the user and/or the UA. An entity that has presence information associated with it, such as a human user of a UA, can be referred to as a presentity. A presentity might also be a non-human entity, such as an application executing on a UA. An entity that provides presence information on behalf of one or more presentities can be referred to as a presence source. For example, a UA that provides presence information associated with its user could be a presence source. When a presence source is associated with only one presentity, the presence source and the presentity could be considered equivalent.

A presence source that has collected presence information about a presentity might transmit the presence information to an entity that can be referred to as a presence server. The presence server might then provide the presence information to an entity that wishes to consume the presence information. This entity can be referred to as a watcher. As an example, if a presentity “Bob” has consented to allow other users to have access to information about his current location, Bob's UA might transmit his location information to a presence server. If a watcher “Alice” wished to learn Bob's current location, Alice's UA might submit an appropriate request to the presence server, and the presence server might send presence information about Bob to Alice's UA. Alice's UA might then process the presence information to determine Bob's location.

As used herein, the term “user agent” or “UA” might in some cases refer to a mobile device such as a mobile telephone, a personal digital assistant, a handheld or laptop computer, or a similar device that has telecommunications capabilities. In other cases, the term “UA” might refer to devices that have similar capabilities but that are not transportable, such as fixed line telephones, desktop computers, set-top boxes, or network nodes. The term “UA” can also refer to any hardware or software component that can terminate a communication session, such as a Session Initiation Protocol (SIP) session. Also, the terms “user agent”, “UA”, “user equipment”, “UE”, and “node” might be used synonymously herein.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of this disclosure, reference is now made to the following brief description, taken in connection with the accompanying drawings and detailed description, wherein like reference numerals represent like parts.

FIG. 1 is a block diagram of a telecommunications system according to an embodiment of the disclosure.

FIG. 2 is a block diagram of a telecommunications system according to an alternative embodiment of the disclosure.

FIG. 3 is a block diagram of a telecommunications system according to another alternative embodiment of the disclosure.

FIG. 4 is a diagram of a method for a presentity to provide private presence information for a watcher according to an embodiment of the disclosure.

FIG. 5 is a diagram of a wireless communications system including a user agent operable for some of the various embodiments of the disclosure.

FIG. 6 is a block diagram of a user agent operable for some of the various embodiments of the disclosure.

FIG. 7 is a diagram of a software environment that may be implemented on a user agent operable for some of the various embodiments of the disclosure.

FIG. 8 illustrates an exemplary general-purpose computer system suitable for implementing the several embodiments of the present disclosure.

DETAILED DESCRIPTION

It should be understood at the outset that although illustrative implementations of one or more embodiments of the present disclosure are provided below, the disclosed systems and/or methods may be implemented using any number of techniques, whether currently known or in existence. The disclosure should in no way be limited to the illustrative implementations, drawings, and techniques illustrated below, including the exemplary designs and implementations illustrated and described herein, but may be modified within the scope of the appended claims along with their full scope of equivalents.

The present disclosure discusses making presence-related parameters in a service or application opaque to a presence server. The presence-related parameters might be managed by a presence access layer, which, as described in more detail below, is an entity that can assume some of the functions that might otherwise be performed by the services or applications. The following discussion of presence information in general and the presence access layer in particular may aid in clarifying the discussion of opaque presence-related parameters that will follow.

FIG. 1 is a block diagram of an embodiment of a system 100 that includes one or more presentities 101, one or more watchers 103, and a presence server 106. In some cases, a presence access layer (PAL) 102, as described below, might also be present. The PAL 102 might reside wholly or partially in the presence server 106, in the presentity 101, in the watcher 103, in one or more services or applications, and/or in one or more other network components. The functionality provided by the PAL 102 may be divided between these and/or other components. Alternatively, the PAL 102 might be a standalone component.

As mentioned above, the presentity 101 might be a human or non-human entity with which presence information is associated. The presentity 101 might reside wholly or partially on a UA or wholly or partially in a network or on a network component. Although not shown, multiple presence sources that capture presence information on behalf of the presentity 101 might be present. Multiple presentities 101 might also be present, and a single presence source might be associated with multiple presentities 101 and/or a single presentity 101 might be associated with multiple presence sources. Hereinafter, the term “presentity” might refer only to one or more presentities 101 or might refer to one or more presentities 101 and one or more associated presence sources. That is, no distinction will be made between a presentity and a presence source, but it should be understood that in some cases these can be separate entities.

The watcher 103 might be one or more humans, applications, services, or other entities that monitor or wish to consume presence information associated with the presentity 101. When the watcher 103 is an application or a service, the application or service might be wholly or partially resident on a UA. Alternatively, the application or service might be wholly or partially resident on a network component. Hereinafter, the term “watcher” might refer to a human, an application, or a service interested in presence information, to a UA or network component on which such an application or service resides, or to any combination of these entities.

The presentity 101 might be able to define which watchers 103 can receive the presentity's presence information and which presence information the watchers 103 can receive. As an example, the presentity user “Bob” might specify that all of his work supervisors can receive all of his presence information. He might also specify that the watcher “Alice” can receive information about his current willingness to communicate but can receive none of his other presence information, such as his current location. Alternatively, another entity, such as Bob's employer, might designate which elements of Bob's presence information will be made available to which watchers 103.

A plurality of applications or services, such as instant messaging services or push-to-talk services, might be associated with the presentity 101, and these applications or services might be provided by one or more devices. The presentity 101 might publish presence information from a plurality of these devices. For example, Bob might be using a desktop computer and a handheld telephone simultaneously and may be considered available on either device. If Bob did not use the computer for an extended period of time, the computer might enter a sleep mode, and Bob might become unavailable on that device. However, he might remain available on the handset.

The presentity 101 can publish its presence information to the presence server 106. Only certain portions of the presence information might be made available to the watchers 103, and only certain watchers 103 might have access to the presence information. The presentity 101 or a third party (for example, a service provider or administrator) might publish rules or policies to the presence server 106 that define the portions of the presence information that will be made available to the watchers 103 and which of the portions will be made available to which of the watchers 103. The rules or polices might be established for groups of presentities 101 and/or groups of watchers 103. The rules or polices might be provided to the presence server 106 in a policy document. Alternatively, the presence information that will be made available to a particular watcher 103 might be determined at the time that watcher 103 requests presence information.

As used herein, the term “rule” refers to a sequence of logic that, when executed, can specify actions. The term “policy” refers to logic that can aid in the evaluation of a rule by, for example, providing hints, clarifying indeterminate or inconclusive scenarios during processing, or providing parameters. A distinction might also be made between a rule and a base rule and between a policy and a base policy. A base rule is typically a common interoperable rule or a default rule. That is, a base rule is a rule that is specified when no specific service or platform has overridden or changed it. Therefore, the term “rule” could refer to any rule, base or otherwise. Similarly, the term “policy” could refer to the set of all policies, and the term “base policy” could refer to a common or default policy that is used when a policy has not been overridden, extended, or enhanced.

The presence server 106 is a network component that receives presence information from the presentity 101 and provides presence information to the watcher 103. The rules or policies that define the presence information that will be made available to the watchers 103 might be stored on and/or processed by the presence server 106. When the watcher 103 wishes to receive presence information associated with the presentity 101, the watcher 103 can send a request to the presence server 106. The presence server 106 can then determine if the watcher 103 is authorized to receive the presentity's presence information. If the watcher 103 is authorized, the presence server 106 sends the presence information to the watcher 103.

The presence information might be sent to the watcher 103 in a Presence Information Data Format (PIDF). Alternatively, more detailed information might be provided if the rich presence extension to PIDF (RPID) is used. In either case, the presence information might be provided in a presence document that can be encoded in extensible markup language (XML) or another appropriate format. The presence document is typically a large document that contains all of the presence information that the presentity 101 has allowed the watcher 103 to obtain. That is, even when the watcher 103 wants to learn only a single element of presence information, such as the presentity's current willingness to communicate, the presence document might contain numerous additional elements of presence information.

Upon receiving the presence document, the watcher 103 parses the XML or other encoding scheme to extract the desired presence information. The entire presence document is typically parsed, regardless of the amount of presence information that is sought. For example, if the watcher 103 wished to learn the presentity's current willingness to communicate, the watcher 103 might need to sift through large amounts of unrelated data, such as the presentity's location, the presentity's willingness to use a particular service, the applications currently executing on the presentity's UA, and other information, to find the single data element that is desired.

In some cases, the watcher 103 might wish to learn a combination of information about the presentity 101. For example, if the watcher 103 wanted to send an instant message to the presentity 101, the watcher 103 might first attempt to determine the presentity's willingness to communicate and whether an instant messaging application is currently executing on the presentity's UA. In such cases, the watcher 103 might again send a single request for presence information to the presence server 106 and might again receive the entire presence document. The watcher 103 would then parse the entire document to find the plurality of data elements that are desired and perform the appropriate logical operations to correlate the data elements and derive the combination of information that was desired.

It may be possible that the presentity 101 did not specify whether or not the watcher 103 could have access to a data element that the watcher 103 is trying to obtain. In that case, the presence document may not contain the information that the watcher 103 is seeking. In such a case, the results of the watcher's parsing of the presence document may be indeterminate and it may not be clear what further actions the watcher 103 should take.

In some cases, the PAL 102 might be present to promote more efficient processing and dissemination of presence information. The PAL 102 can abstract and simplify complex presence information on behalf of the watcher 103. That is, the PAL 102 can act as a proxy for the watcher 103 by receiving a presence information request from the watcher 103, sending the request to the presence server 106, receiving a presence document from the presence server 106, parsing the information in the presence document, and returning to the watcher 103 a single value, such as “true” or “false”, as a response to the presence information request.

The PAL 102 allows the watcher 103 to submit a request for a single element of presence information, which can be referred to as a presence aspect. For example, the presentity's willingness to communicate might be a presence aspect, the presentity's current location might be another, the presentity's preferred means of communication might be another, and so on. The presence aspects are reusable, interoperable abstractions that can be applicable across a plurality of applications or services. The watcher 103 can send a message to the PAL 102 specifying a single presence aspect for which the watcher 103 is seeking information. The PAL 102 can then respond with information related only to that presence aspect.

As an example, if the watcher 103 wishes to learn whether the presentity 101 is currently willing to communicate, the watcher 103 can submit a request to the PAL 102 for information specifically about that presence aspect. If the presentity 101 has specified that the watcher 103 can have access to the presentity's willingness information, the PAL 102 can respond with a single value indicating the presentity's willingness or unwillingness to communicate. The watcher 103 then needs to process only this single value. This can be contrasted with the situation where the PAL 102 is not present. In that case, the watcher 103 would ask for presence information in general, receive the entire presence document, and parse the presence document to determine the willingness aspect.

The PAL 102 can also process more complex requests from the watcher 103. For example, if the watcher 103 wished to determine a combination of information associated with the presentity 101, the watcher 103 might send the PAL 102 a request for each desired presence aspect. The PAL 102 might then return a response for each of the requests. Alternatively, the PAL 102 might correlate multiple presence aspects and return a single value to the watcher 103 that represents the combination of information that the watcher 103 was seeking.

In addition to greatly simplifying the manner in which the watcher 103 requests, receives, and processes presence information, use of the PAL 102 can allow processing that might previously have been performed by the watcher 103 to be offloaded to the PAL 102. In the cases where the PAL 102 is a standalone component or resides wholly or partially in the presence server 106 or some other network component, offloading the processing of presence information to the PAL 102 can free some of the processing capabilities of the watcher 103 for other purposes.

The PAL 102 may also process presence information on behalf of multiple applications or services that might otherwise redundantly perform the same presence information processing. That is, multiple applications or services might reside on or be available to the watcher 103, and each might have the capability to request, receive, and process presence information. Many of the steps that the applications or services take with regard to the presence information might be common to several of the applications or services. For example, there may be common presence-related rules or logic that would apply to both an instant messaging service and a push-to-talk service. If the PAL 102 is not present, each of these services might perform the common steps separately. If the PAL 102 is present, the PAL 102 can perform the common steps on behalf of each of these services and then return the results of the processing to the services. This can allow common procedures to occur only one time, thus increasing the efficiency of the watcher 103 and the applications or services it uses.

The PAL 102 can also ensure that indeterminate results are not returned to the watcher 103. As mentioned previously, if the watcher 103 seeks information about a presence aspect for which the presentity 101 has not provided information, the watcher's parsing of the presence document to determine that information might be inconclusive. The PAL 102, however, can contain functionality that specifies a definitive response to a presence information request even when information about the requested presence aspect is not available. For example, if the presentity 101 has not specified a willingness or an unwillingness to communicate, and if the watcher 103 submits a request for the presentity's willingness presence aspect, the PAL 102 might provide a default willingness value to the watcher 103. For instance, the PAL 102 might indicate that the presentity 101 is unwilling to communicate for an indefinite period of time. In this way, the watcher 103 can be assured of receiving a usable response to any presence information request.

While the above discussion has focused on the PAL 102 providing presence information to the watcher 103 in response to the watcher's request for the current status of that information, the PAL 102 might also provide presence information based on a trigger defined by the watcher 103. That is, the watcher 103 might specify that it wishes to be informed when a change occurs in a presence aspect. When the PAL 102 detects that the specified change has occurred, the PAL 102 can notify the watcher 103 of the change. A trigger might apply to a presence aspect alone or to a presence aspect in combination with one or more applications or services. In addition, a trigger might be used to receive presence information from a plurality of presentities 101 and/or to provide presence information to a plurality of watchers 103.

As an example, the watcher 103 might have previously determined that the presentity's willingness presence aspect has a value that indicates that the presentity 101 is currently unwilling to communicate. The watcher 103 might wish to know if the presentity 101 becomes willing to communicate at a later point in time. The watcher 103 could establish a trigger on the PAL 102 requesting to be notified of a change in the presentity's willingness presence aspect. The PAL 102 would then monitor the presentity's willingness presence aspect and would inform the watcher 103 if that presence aspect changed from “unwilling” to “willing”.

The use of the PAL 102 does not necessarily preclude the presence server 106 sending the presence document to the watcher 103. For example, if the watcher 103 wishes to obtain a large amount of presence information, there may be circumstances in which it is more efficient for the watcher 103 to parse the entire presence document received from the presence server 106 rather than processing multiple individual presence aspect values received from the PAL 102. The PAL 102 provides an upgrade option that might be used to hide complexity from the watcher 103 in some circumstances.

The above discussion was intended to provide sufficient information to promote an understanding of presence information in general and the presence access layer in particular. With this context in place, the discussion can now turn to opaque presence-related parameters.

FIG. 2 illustrates an embodiment of a system 200 that might implement the PAL 102. The presentity 101, the watcher 103, and the presence server 106 might be present as shown in FIG. 1. One or more services or applications 202 might also be present and might be accessible to the watcher 103. The services 202 might make use of the presentity's presence information, as provided by the presence server 106 via the PAL 102, to provide presence-related functionality to the watcher 103. In some cases, a firewall 108 may be present between the presence server 106 and the presentity 101, the watcher 103, the PAL 102, and the services 202.

In this embodiment, the presentity 101 and the watcher 103 might wish to make use of the presence server 106 for its ability to receive and disseminate presence-related information, but the presentity 101 and the watcher 103 might not trust the presence server 106 with private presence information. That is, the presentity 101 might wish to share presence-related information with the watcher 103 via the presence server 106 without the presence server 106 learning the content of the information. To do so, the presentity 101 might provide at least some presence-related data to the presence server 106 or the PAL 102 in an opaque, encrypted, or encoded form. Other presence-related data might be provided in a clear, decrypted, or decoded form. The decision regarding which presence information is to be made opaque might be made by the presentity 101 and/or by an enterprise or group to which the presentity 101 belongs.

As an example, the presence server 106 might support a presence service that is a component of a social network. The presence service might collect presence information associated with the presentity 101 that it might use to target advertising to the presentity 101 and/or the watcher 103. The presentity 101 and/or the watcher 103 might wish to make use of the social network but may not wish to be targeted for advertising. The presentity 101 may have an option to avoid such targeting by sending all or part of its presence-related information in an opaque or encrypted form so that the information cannot be recognized by the social network that is acting on its behalf.

Another example could involve an enterprise scenario. A small business that may not have the infrastructure or resources to support a presence-capable service in its own network could delegate an outside third party to manage its presence-related services. The business might not wish to share sensitive presence information associated with its employees with the third party. Some simple presence aspects such as the availability of the employees might be shareable, but more detailed information, such as what projects the employees are working on, where the employees are located, or which employees have specific skills, could be presence information that the business does not wish the third party to learn. The business could define which presence information is hidden from the presence service by being made opaque and which presence information is left in the clear.

In another example involving an enterprise scenario, a larger enterprise might manage its own presence-related services. Two users within the enterprise might wish to share some of their presence information with each other but may not wish to make the information available to the enterprise. The users might encrypt the presence information that they wish to keep private and leave unencrypted the presence information that they do not object to the enterprise seeing. Alternatively, the enterprise might establish rules and policies about the circumstances under which presence-related information associated with its employees will be made opaque to other employees.

In the embodiment of FIG. 2, the presentity 101 can publish both clear and opaque presence-related information to the presence server 106 via path 130. The presence server 106 can have the appropriate functionality to support the handling of opaque data. The presence server's handling of the opaque data does not necessarily involve any decryption of the opaque data; the presence server 106 might merely generate a presence document 109 that contains both clear and opaque presence-related information.

The presence server 106 provides the presence document 109, possibly containing both clear and opaque data, to the PAL 102 either upon receiving a request from the PAL 102 or upon a trigger event occurring. In an embodiment, if opaque data is present in the presence document 109, the PAL 102 can either decrypt the opaque data and send the decrypted data to the watcher 103, send the opaque data to the watcher 103 without decryption, or not send the opaque data to the watcher 103 at all. If the PAL 102 sends the opaque data to the watcher 103 without decryption, the watcher 103 may be able to decrypt the opaque data.

The PAL's decision on how to handle opaque data can be based on various combinations of rules, policies, presence aspects, and other contextual information. The presence aspects might include factors such as the presentity's location, the services currently in use by the presentity 101, users with whom the presentity 101 is communicating or with whom the presentity 101 wishes to communicate, groups or enterprises to which the presentity 101 belongs, the current time or date, and other well known presence-related information. The rules or policies might specify which watchers 103 are allowed to see the presentity's presence information, which presence information the watchers 103 are allowed to see, and the circumstances under which the watchers 103 are allowed to see the presence information. The rules or policies might also specify which presence information the presentity 101 stores in an opaque form, which opaque presence information the PAL 102 decrypts, and which opaque presence information the PAL 102 sends to the watcher 103 in opaque form. The rules or policies might be specified by the presentity 101 and/or by a group or enterprise to which the presentity 101 belongs.

As an example, the PAL 102 might follow a rule stating that it is never to send the watcher 103 data, either clear or opaque, that the watcher 103 is not authorized to see. Another rule could state that if the PAL 102 cannot decrypt a presence aspect, that presence aspect is never sent to the watcher 103. Other rules regarding whether or not the PAL 102 should decrypt opaque presence information and/or whether the PAL 102 should send opaque presence information to the watcher 103 can be based on more complex contextual information.

For example, the watcher 103 might not be employed by the same enterprise that employs the presentity 101. The presentity's work-related presence information might be opaque, and the presentity's non-work-related presence information might be in the clear. The presentity 101 or the enterprise might have created a rule stating that only the presentity's work colleagues are allowed to see the decrypted form of the opaque data. If the watcher 103 requested clear data, the PAL 102 would provide the data in the standard manner. If the watcher 103 requested opaque data, the PAL 102 would consult the rule, determine that the watcher 103 is not a work colleague of the presentity 101, and refrain from decrypting or sending the opaque data. Even if the presentity 101 had no objection to the watcher 103 seeing the decrypted data, the enterprise might have a rule that overrides the presentity's preferences and disallows sending decrypted data.

In another example, the presentity 101 and the watcher 103 might be employed by the same enterprise but might be in different groups. The enterprise might have a policy stating that all of the presentity's work-related presence information is to be opaque. The PAL 102 can then follow rules stating which portions of the opaque data can be made available to which groups in the enterprise. If the watcher 103 requests opaque data, the PAL can determine which group the watcher 103 belongs to and then follow the rules to determine if members of that group are allowed access to the requested data. If the PAL 102 determines that the watcher 103 belongs to a group that is allowed to see the requested data, the PAL 102 might decrypt the data and send it to the watcher 103. Alternatively, the PAL 102 might determine that the watcher 103 is capable of decrypting the data. The PAL 102 might then send the data to the watcher 103 in an opaque form, and the watcher 103 might decrypt the data.

In another example, the presentity 101 and the watcher 103 are again employed by the same enterprise. A service 202 available through the watcher's UA might request an element of opaque presence information from the PAL 102. The presentity 101 or the enterprise might previously have created a rule stating that the service 202 is allowed access to that data element only when the service 202 is installed on the UA of a supervisor of the presentity 101, only when the supervisor's UA is capable of decrypting the data element, and only when the request for the data element is made during normal work hours. If the service 202 requests the data element on a weekend, the service 202 would not be given the data element. If the service 202 requests the data element during normal work hours, the PAL 102 determines whether the service 202 is installed on a supervisor's UA and whether the service 202 has access to the keys for decrypting the data element. If the service 202 is on a supervisor's UA and is capable of decrypting the data element, the PAL 102 sends the data element to the watcher 103 in opaque form. The watcher 103 might then decrypt the data element.

In the above examples, the PAL 102 could use presence aspects, rules, policies, and other contextual information to determine whether or not to decrypt opaque presence information. However, in some cases, the decryption could occur before a determination is made on how to handle opaque presence information. That is, the decrypted data could become one more element in the context that determines how that decrypted data or other decrypted data is handled. For example, a rule might exist stating that the presentity's location information is not to be provided to any watchers 103, but the PAL 102 might not be able to recognize whether opaque presence information represents location information. The PAL 102 might decrypt the opaque presence information, discover that the information is the presentity's current location, follow the rule, and refrain from sending the location information to a watcher 103 that requested it.

In the case where the PAL 102 decrypts opaque data, the PAL 102 can have access to the keys or seeds needed for decryption. The keys might be stored in a remote key store 120 to which the PAL 102 has access, or the key store 120 could be loaded directly into the PAL 102. The keys might be enterprise-related, group-related, service-related, or user-related, or might be related to any combination of these or other factors. The keys might be loaded into the key store 120 by the presentity 101 or by an enterprise or administrator acting on behalf of the presentity 101. The presence server 106 would not have access to the key store 120 and thus would not be able to decrypt opaque data that passes through it.

In the case where the PAL 102 sends opaque data to the watcher 103 without decryption, the watcher 103 can have access to the keys or seeds needed for decryption. The presentity 101 and the watcher 103 might have previously exchanged the keys in a secure key exchange via path 140. Alternatively, in the case where the PAL 102 partially or wholly resides on the watcher's UA, the watcher 103 could have access to the keys in the key store 120.

FIG. 3 illustrates an alternative to the embodiment of FIG. 2. In this case, the presentity 101 publishes only clear presence-related information to the presence server 106 via path 130. The presence server 106 would not need to be provided with functionality to support handling opaque data in this case, and the presence document 109 would contain only clear data. The presentity 101 publishes opaque presence-related information directly to the PAL 102 via path 150. Prior to publishing opaque data, the presentity 101 might provide the PAL 102 or the watcher 103 with keys for decrypting the opaque data. If the keys are provided to the PAL 102, the PAL 102 can store the keys in the key store 120. The PAL 102 or the watcher 103 can use the keys and context information to process opaque data in the manner described in conjunction with FIG. 2.

FIG. 4 illustrates a method 350 for a presentity to provide private presence information to a watcher. At block 310, the presentity provides the private presence information in an encrypted form. In some cases, the presentity provides the private presence information directly to the presence access layer. In other cases, the presentity provides the private presence information to the presence access layer via a presence server. At block 320, the presence access layer obtains the private presence information. At block 330, the presence access layer follows a rule specifying an action that the presence access layer is to take. In some cases, the presence access layer decrypts the private presence information and sends the decrypted private presence information to the watcher. In other cases, the presence access layer leaves the private presence information in the encrypted form and sends the encrypted private presence information to the watcher. The watcher might then decrypt the private presence information.

FIG. 5 illustrates a wireless communications system including an embodiment of a UA 110 that might be used by the presentity 101 and/or the watcher 103. The UA 110 is operable for implementing aspects of the disclosure, but the disclosure should not be limited to these implementations. Though illustrated as a mobile phone, the UA 110 may take various forms including a wireless handset, a pager, a personal digital assistant (PDA), a portable computer, a tablet computer, or a laptop computer. Many suitable devices combine some or all of these functions. In some embodiments of the disclosure, the UA 110 is not a general purpose computing device like a portable, laptop or tablet computer, but rather is a special-purpose communications device such as a mobile phone, wireless handset, pager, or PDA. In another embodiment, the UA 110 may be a portable, laptop or other computing device. The UA 110 may support specialized activities such as gaming, inventory control, job control, and/or task management functions, and so on.

The UA 110 includes a display 402. The UA 110 also includes a touch-sensitive surface, a keyboard or other input keys generally referred as 404 for input by a user. The keyboard may be a full or reduced alphanumeric keyboard such as QWERTY, Dvorak, AZERTY, and sequential types, or a traditional numeric keypad with alphabet letters associated with a telephone keypad. The input keys may include a trackwheel, an exit or escape key, a trackball, and other navigational or functional keys, which may be inwardly depressed to provide further input function. The UA 110 may present options for the user to select, controls for the user to actuate, and/or cursors or other indicators for the user to direct. The UA 110 may further accept data entry from the user, including numbers to dial or various parameter values for configuring the operation of the UA 110. The UA 110 may further execute one or more software or firmware applications in response to user commands. These applications may configure the UA 110 to perform various customized functions in response to user interaction. Additionally, the UA 110 may be programmed and/or configured over-the-air, for example from a wireless base station, a wireless access point, or a peer UA 110.

Among the various applications executable by the UA 110 are a web browser, which enables the display 402 to show a web page. The web page may be obtained via wireless communications with a wireless network access node, a cell tower, a peer UA 110, or any other wireless communication network or system 400. The network 400 is coupled to a wired network 408, such as the Internet. Via the wireless link and the wired network, the UA 110 has access to information on various servers, such as a server 410. The server 410 may provide content that may be shown on the display 402. Alternately, the UA 110 may access the network 400 through a peer UA 110 acting as an intermediary, in a relay type or hop type of connection.

FIG. 6 shows a block diagram of the UA 110. While a variety of known components of UAs 110 are depicted, in an embodiment a subset of the listed components and/or additional components not listed may be included in the UA 110. The UA 110 includes a memory 504 and a central processing unit (CPU) 1310 that may incorporate a digital signal processor (DSP) 502. As shown, the UA 110 may further include an antenna and front end unit 506, a radio frequency (RF) transceiver 508, an analog baseband processing unit 510, a microphone 512, an earpiece speaker 514, a headset port 516, an input/output interface 518, a removable memory card 520, a universal serial bus (USB) port 522, a short range wireless communication sub-system 524, an alert 526, a keypad 528, a liquid crystal display (LCD), which may include a touch sensitive surface 530, an LCD controller 532, a charge-coupled device (CCD) camera 534, a camera controller 536, and a global positioning system (GPS) sensor 538. In an embodiment, the UA 110 may include another kind of display that does not provide a touch sensitive screen. In an embodiment, the DSP 502 may communicate directly with the memory 504 without passing through the input/output interface 518.

The DSP 502 or some other form of controller or central processing unit operates to control the various components of the UA 110 in accordance with embedded software or firmware stored in memory 504 or stored in memory contained within the DSP 502 itself. In addition to the embedded software or firmware, the DSP 502 may execute other applications stored in the memory 504 or made available via information carrier media such as portable data storage media like the removable memory card 520 or via wired or wireless network communications. The application software may comprise a compiled set of machine-readable instructions that configure the DSP 502 to provide the desired functionality, or the application software may be high-level software instructions to be processed by an interpreter or compiler to indirectly configure the DSP 502.

The antenna and front end unit 506 may be provided to convert between wireless signals and electrical signals, enabling the UA 110 to send and receive information from a cellular network or some other available wireless communications network or from a peer UA 110. In an embodiment, the antenna and front end unit 506 may include multiple antennas to support beam forming and/or multiple input multiple output (MIMO) operations. As is known to those skilled in the art, MIMO operations may provide spatial diversity which can be used to overcome difficult channel conditions and/or increase channel throughput. The antenna and front end unit 506 may include antenna tuning and/or impedance matching components, RF power amplifiers, and/or low noise amplifiers.

The RF transceiver 508 provides frequency shifting, converting received RF signals to baseband and converting baseband transmit signals to RF. In some descriptions a radio transceiver or RF transceiver may be understood to include other signal processing functionality such as modulation/demodulation, coding/decoding, interleaving/deinterleaving, spreading/despreading, inverse fast Fourier transforming (IFFT)/fast Fourier transforming (FFT), cyclic prefix appending/removal, and other signal processing functions. For the purposes of clarity, the description here separates the description of this signal processing from the RF and/or radio stage and conceptually allocates that signal processing to the analog baseband processing unit 510 and/or the DSP 502 or other central processing unit. In some embodiments, the RF Transceiver 508, portions of the Antenna and Front End 506, and the analog baseband processing unit 510 may be combined in one or more processing units and/or application specific integrated circuits (ASICs).

The analog baseband processing unit 510 may provide various analog processing of inputs and outputs, for example analog processing of inputs from the microphone 512 and the headset 516 and outputs to the earpiece 514 and the headset 516. To that end, the analog baseband processing unit 510 may have ports for connecting to the built-in microphone 512 and the earpiece speaker 514 that enable the UA 110 to be used as a cell phone. The analog baseband processing unit 510 may further include a port for connecting to a headset or other hands-free microphone and speaker configuration. The analog baseband processing unit 510 may provide digital-to-analog conversion in one signal direction and analog-to-digital conversion in the opposing signal direction. In some embodiments, at least some of the functionality of the analog baseband processing unit 510 may be provided by digital processing components, for example by the DSP 502 or by other central processing units.

The DSP 502 may perform modulation/demodulation, coding/decoding, interleaving/deinterleaving, spreading/despreading, inverse fast Fourier transforming (IFFT)/fast Fourier transforming (FFT), cyclic prefix appending/removal, and other signal processing functions associated with wireless communications. In an embodiment, for example in a code division multiple access (CDMA) technology application, for a transmitter function the DSP 502 may perform modulation, coding, interleaving, and spreading, and for a receiver function the DSP 502 may perform despreading, deinterleaving, decoding, and demodulation. In another embodiment, for example in an orthogonal frequency division multiplex access (OFDMA) technology application, for the transmitter function the DSP 502 may perform modulation, coding, interleaving, inverse fast Fourier transforming, and cyclic prefix appending, and for a receiver function the DSP 502 may perform cyclic prefix removal, fast Fourier transforming, deinterleaving, decoding, and demodulation. In other wireless technology applications, yet other signal processing functions and combinations of signal processing functions may be performed by the DSP 502.

The DSP 502 may communicate with a wireless network via the analog baseband processing unit 510. In some embodiments, the communication may provide Internet connectivity, enabling a user to gain access to content on the Internet and to send and receive e-mail or text messages. The input/output interface 518 interconnects the DSP 502 and various memories and interfaces. The memory 504 and the removable memory card 520 may provide software and data to configure the operation of the DSP 502. Among the interfaces may be the USB interface 522 and the short range wireless communication sub-system 524. The USB interface 522 may be used to charge the UA 110 and may also enable the UA 110 to function as a peripheral device to exchange information with a personal computer or other computer system. The short range wireless communication sub-system 524 may include an infrared port, a Bluetooth interface, an IEEE 802.11 compliant wireless interface, or any other short range wireless communication sub-system, which may enable the UA 110 to communicate wirelessly with other nearby UAs and/or wireless base stations. A long range wireless communication sub-system 550 may also be present and may be compliant with IEEE 802.16.

The input/output interface 518 may further connect the DSP 502 to the alert 526 that, when triggered, causes the UA 110 to provide a notice to the user, for example, by ringing, playing a melody, or vibrating. The alert 526 may serve as a mechanism for alerting the user to any of various events such as an incoming call, a new text message, and an appointment reminder by silently vibrating, or by playing a specific pre-assigned melody for a particular caller.

The keypad 528 couples to the DSP 502 via the interface 518 to provide one mechanism for the user to make selections, enter information, and otherwise provide input to the UA 110. The keyboard 528 may be a full or reduced alphanumeric keyboard such as QWERTY, Dvorak, AZERTY and sequential types, or a traditional numeric keypad with alphabet letters associated with a telephone keypad. The input keys may include a trackwheel, an exit or escape key, a trackball, and other navigational or functional keys, which may be inwardly depressed to provide further input function. Another input mechanism may be the LCD 530, which may include touch screen capability and also display text and/or graphics to the user. The LCD controller 532 couples the DSP 502 to the LCD 530.

The CCD camera 534, if equipped, enables the UA 110 to take digital pictures. The DSP 502 communicates with the CCD camera 534 via the camera controller 536. In another embodiment, a camera operating according to a technology other than Charge Coupled Device cameras may be employed. The GPS sensor 538 is coupled to the DSP 502 to decode global positioning system signals, thereby enabling the UA 110 to determine its position. Various other peripherals may also be included to provide additional functions, e.g., radio and television reception.

FIG. 7 illustrates a software environment 602 that may be implemented by the DSP 502. Alternatively, the software environment 602 can be executed in an execution environment hosted by a central processing unit (CPU) 1310 on the UA 110 or by a logical CPU with a combined DSP function. The DSP 502 executes operating system drivers 604 that provide a platform from which the rest of the software operates. The operating system drivers 604 provide drivers for the node hardware with standardized interfaces that are accessible to application software. The operating system drivers 604 include application management services (“AMS”) 606 that transfer control between applications running on the UA 110, monitor applications, preempt applications, and perform other functions of an underlying operating system platform such as controlling, monitoring, and sometimes preempting or terminating logical processes, including execution threads.

Also shown in FIG. 7 are a web browser application 608, a media player application 610, and Java applets 612. The web browser application 608 configures the UA 110 to operate as a web browser, allowing a user to enter information into forms and select links to retrieve and view web pages. The media player application 610 configures the UA 110 to retrieve and play audio or audiovisual media. The Java applets 612 configure the UA 110 to provide games, utilities, and other functionality. The AMS 606 may also host a Java Virtual Machine on which the Java applets 612 can execute. Other execution environments could also be hosted, such as a C runtime environment to support executable programs and applications written in the C programming language. A component 614 might provide functionality related to managing opaque presence indications.

The UA 110 and other components described above might include a processing component that is capable of executing instructions related to the actions described above. FIG. 8 illustrates an example of a system 1300 that includes a processing component 1310 suitable for implementing one or more embodiments disclosed herein. In addition to the processor 1310 (which may be referred to as a central processor unit or CPU), the system 1300 might include network connectivity devices 1320, random access memory (RAM) 1330, read only memory (ROM) 1340, secondary storage 1350, and input/output (I/O) devices 1360. These components might communicate with one another via a bus 1370. In some cases, some of these components may not be present or may be combined in various combinations with one another or with other components not shown. These components might be located in a single physical entity or in more than one physical entity. Any actions described herein as being taken by the processor 1310 might be taken by the processor 1310 alone or by the processor 1310 in conjunction with one or more components shown or not shown in the drawing, such as the DSP 502 described above. Although the DSP 502 is shown as a separate component, the DSP 502 might be incorporated into the processor 1310.

The processor 1310 executes instructions, codes, computer programs, or scripts that it might access from the network connectivity devices 1320, RAM 1330, ROM 1340, or secondary storage 1350 (which might include various disk-based systems such as hard disk, floppy disk, or optical disk). While only one CPU 1310 is shown, multiple processors may be present. Thus, while instructions may be discussed as being executed by a processor, the instructions may be executed simultaneously, serially, or otherwise by one or multiple processors. The processor 1310 may be implemented as one or more CPU chips.

The network connectivity devices 1320 may take the form of modems, modem banks, Ethernet devices, universal serial bus (USB) interface devices, serial interfaces, token ring devices, fiber distributed data interface (FDDI) devices, wireless local area network (WLAN) devices, radio transceiver devices such as code division multiple access (CDMA) and/or global system for mobile communications (GSM) radio transceiver devices, and other well-known devices for connecting to networks. These network connectivity devices 1320 may enable the processor 1310 to communicate with the Internet or one or more telecommunications networks or other networks from which the processor 1310 might receive information or to which the processor 1310 might output information.

The network connectivity devices 1320 might also include one or more transceiver components 1325 capable of transmitting and/or receiving data wirelessly in the form of electromagnetic waves, such as radio frequency signals or microwave frequency signals. Alternatively, the data may propagate in or on the surface of electrical conductors, in coaxial cables, in waveguides, in optical media such as optical fiber, or in other media. The transceiver component 1325 might include separate receiving and transmitting units or a single transceiver. Information transmitted or received by the transceiver 1325 may include data that has been processed by the processor 1310 or instructions that are to be executed by processor 1310. Such information may be received from and outputted to a network in the form, for example, of a computer data baseband signal or signal embodied in a carrier wave. The data may be ordered according to different sequences as may be desirable for either processing or generating the data or transmitting or receiving the data. The baseband signal, the signal embedded in the carrier wave, or other types of signals currently used or hereafter developed may be referred to as the transmission medium and may be generated according to several methods well known to one skilled in the art.

The RAM 1330 might be used to store volatile data and perhaps to store instructions that are executed by the processor 1310. The ROM 1340 is a non-volatile memory device that typically has a smaller memory capacity than the memory capacity of the secondary storage 1350. ROM 1340 might be used to store instructions and perhaps data that are read during execution of the instructions. Access to both RAM 1330 and ROM 1340 is typically faster than to secondary storage 1350. The secondary storage 1350 is typically comprised of one or more disk drives or tape drives and might be used for non-volatile storage of data or as an over-flow data storage device if RAM 1330 is not large enough to hold all working data. Secondary storage 1350 may be used to store programs that are loaded into RAM 1330 when such programs are selected for execution.

The I/O devices 1360 may include liquid crystal displays (LCDs), touch screen displays, keyboards, keypads, switches, dials, mice, track balls, voice recognizers, card readers, paper tape readers, printers, video monitors, or other well-known input devices. Also, the transceiver 1325 might be considered to be a component of the I/O devices 1360 instead of or in addition to being a component of the network connectivity devices 1320. Some or all of the I/O devices 1360 may be substantially similar to various components depicted in the previously described drawing of the UA 110, such as the display 402 and the input 404.

Additional information related to the presence access layer and other topics discussed herein can be found in the following documents, which are incorporated herein by reference as if reproduced in their entirety: U.S. Provisional Patent Application No. 61/013,813, filed Dec. 14, 2007, by Brian McColgan, et al, entitled “Method and System for a Context Aware Mechanism for Use in Presence and Location”; U.S. Provisional Patent Application No. 61/013,827, filed Dec. 14, 2007, by Brian McColgan, et al, entitled “Method and System for a Context Aware Mechanism in an Integrated or Distributed Configuration”; and U.S. Provisional Patent Application No. 61/013,834, filed Dec. 14, 2007, by Brian McColgan, et al, entitled “Method and System for Specifying, Applying and Executing Application Related Aspects through Policies, Rules and/or Triggers”.

In an embodiment, a method for a presentity to provide private presence information for a watcher is provided. The method includes the presentity providing the private presence information in an encrypted form. The method also includes a presence access layer obtaining the private presence information. The method also includes the presence access layer performing one of decrypting the private presence information and sending the decrypted private presence information to the watcher, and leaving the private presence information in the encrypted form and sending the encrypted private presence information to the watcher, wherein the watcher decrypts the private presence information.

In an alternative embodiment, a system is provided. The system includes a presence access layer configured to obtain private presence information in an encrypted form from a presentity, and further configured to follow at least one rule specifying that the presence access layer is to perform one of decrypting the private presence information and sending the decrypted private presence information to a watcher, and leaving the private presence information in the encrypted form and sending the encrypted private presence information to the watcher, wherein the watcher decrypts the private presence information.

While several embodiments have been provided in the present disclosure, it should be understood that the disclosed systems and methods may be embodied in many other specific forms without departing from the spirit or scope of the present disclosure. The present examples are to be considered as illustrative and not restrictive, and the intention is not to be limited to the details given herein. For example, the various elements or components may be combined or integrated in another system or certain features may be omitted, or not implemented.

Also, techniques, systems, subsystems and methods described and illustrated in the various embodiments as discrete or separate may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present disclosure. Other items shown or discussed as coupled or directly coupled or communicating with each other may be indirectly coupled or communicating through some interface, device, or intermediate component, whether electrically, mechanically, or otherwise. Other examples of changes, substitutions, and alterations are ascertainable by one skilled in the art and could be made without departing from the spirit and scope disclosed herein. 

1. A method for a presentity to provide private presence information for a watcher, comprising: the presentity providing the private presence information in an encrypted form; a presence access layer obtaining the private presence information; and the presence access layer performing one of: decrypting the private presence information and sending the decrypted private presence information to the watcher, and leaving the private presence information in the encrypted form and sending the encrypted private presence information to the watcher, wherein the watcher decrypts the private presence information.
 2. The method of claim 1 wherein the presence access layer performs one of decrypting the private presence information and leaving the private presence information encrypted according to at least one of: a rule; a base rule; a policy; and a base policy.
 3. The method of claim 2 wherein the at least one rule is specified by one of: the presentity; a representative of a group to which the presentity belongs; a class of service; and a service.
 4. The method of claim 2 wherein the at least one policy is specified by one of: the presentity; a representative of a group to which the presentity belongs; a class of service; and a service.
 5. The method of claim 2 wherein at least one of the rule and the policy is based on at least one of: whether the watcher is allowed to see the presentity's private presence information; whether a representative of a group the presentity belongs to allows the watcher to see the presentity's private presence information; which private presence information the watcher is allowed to see; a circumstance under which the watcher is allowed to see the private presence information; which presence information the presentity makes private; which private presence information a presence server makes available to the presence access layer; which private presence information the presence access layer decrypts; and which private presence information the presence access layer leaves in the encrypted form.
 6. The method of claim 1 wherein, when the presence access layer decrypts the private presence information, the presence access layer performs the decryption using keys stored in one of: the presence access layer; and a key store to which the presence access layer has access.
 7. The method of claim 6 wherein the key store to which the presence access layer has access is located in a presence server.
 8. The method of claim 6 wherein the presence access layer retrieves the key and performs at least one of: using the key for current operations; and storing the key for subsequent decryption operations.
 9. The method of claim 6 wherein the keys are provided by one of: the presentity; and a representative of a group to which the presentity belongs.
 10. The method of claim 1 wherein, when the watcher decrypts the private presence information, the watcher performs the decryption using keys stored in one of: the watcher; the presence access layer; and a key store to which the watcher has access.
 11. The method of claim 5 wherein the keys are provided by one of: the presentity; and a representative of a group to which the presentity belongs.
 12. The method of claim 1 wherein the presentity provides the private presence information to the presence access layer directly.
 13. The method of claim 2 wherein the presentity provides the private presence information to the presence access layer via a presence server.
 14. The method of claim 13 wherein the presentity provides both the private presence information and non-encrypted presence information to the presence server, the presence server creates a presence document containing both the private presence information and the non-encrypted presence information, the presence server provides the presence document to the presence access layer, and the presence access layer follows at least one of the rule and the policy specifying an action the presence access layer is to take regarding the private presence information in the presence document.
 15. The method of claim 14 wherein the presence server is capable of including the private presence information in the presence document without being capable of recognizing the contents of the private presence information.
 16. A system, comprising: a presence access layer configured to obtain private presence information in an encrypted form from a presentity, and further configured to follow at least one of a rule and a policy specifying that the presence access layer is to perform one of decrypting the private presence information and sending the decrypted private presence information to a watcher, and leaving the private presence information in the encrypted form and sending the encrypted private presence information to the watcher, wherein the watcher decrypts the private presence information.
 17. The system of claim 16 wherein at least one of the rule and the policy is specified by one of: the presentity; a representative of a group to which the presentity belongs; a class of service; and a service.
 18. The system of claim 16 wherein at least one of the rule and the policy is based on at least one of: whether the watcher is allowed to see the presentity's private presence information; whether a representative of a group the presentity belongs to allows the watcher to see the presentity's private presence information; which private presence information the watcher is allowed to see; a circumstance under which the watcher is allowed to see the private presence information; which presence information the presentity makes private; which private presence information a presence server makes available to the presence access layer; which private presence information the presence access layer decrypts; and which private presence information the presence access layer leaves in the encrypted form.
 19. The system of claim 16 wherein, when the presence access layer decrypts the private presence information, the presence access layer performs the decryption using keys stored in one of: the presence access layer; a presence server; and a key store to which the presence access layer has access.
 20. The system of claim 16 wherein, when the watcher decrypts the private presence information, the watcher performs the decryption using keys stored in one of: the watcher; the presence access layer; and a key store to which the watcher has access.
 21. The system of claim 19 wherein the keys are provided by one of: the presentity; and a representative of a group to which the presentity belongs.
 22. The system of claim 20 wherein the keys are provided by one of: the presentity; and a representative of a group to which the presentity belongs.
 23. The system of claim 16 wherein the presentity provides the private presence information to the presence access layer directly.
 24. The system of claim 16 wherein the presentity provides the private presence information to the presence access layer via a presence server.
 25. The system of claim 24 wherein the presentity provides both the private presence information and non-encrypted presence information to the presence server, the presence server creates a presence document containing both the private presence information and the non-encrypted presence information, the presence server provides the presence document to the presence access layer, and the presence access layer follows at least one of the rule and the policy specifying an action the presence access layer is to take regarding the private presence information in the presence document.
 26. The system of claim 25 wherein the presence server is capable of including the private presence information in the presence document without being capable of recognizing the contents of the private presence information.
 27. The system of claim 16 wherein the presence access layer is capable of receiving a request for an element of presence information from the watcher, sending the request to a presence server, receiving a plurality of presence information from the presence server, extracting from the plurality of presence information the requested element of presence information, and returning the requested element of presence information to the watcher. 